<?php /* Smarty version 2.6.0, created on 2011-03-05 11:23:52
         compiled from ./templates/prod_show.tpl.html */ ?>
<p>
<table width="95%" border="1" cellspacing="0" cellpadding="0" align="center">
<tbody>
<?php if (isset($this->_sections['i'])) unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['production']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
<tr>
	<!--Картинка-->
	<td align="center" width="20%">
		<IMG src=<?php echo $this->_tpl_vars['production'][$this->_sections['i']['index']][4]; ?>
 border="0">
	</td>
	<!--Описание-->
    <td width="80%" align="left" valign="middle">
		<p><?php echo $this->_tpl_vars['production'][$this->_sections['i']['index']][2]; ?>
</p>
	</td>
	<!--Ценник-->
<!--	<td width="15%">
<?php if (( $this->_tpl_vars['production'][$this->_sections['i']['index']][3] == 0 )): ?>
		<div class=on_table_text>Цена<br>договорная</div>
<?php else: ?>
		<div class=on_table_text>Стоимость<br><?php echo $this->_tpl_vars['production'][$this->_sections['i']['index']][3]; ?>
<br> рублей</div>
<?php endif; ?>
	</td>-->
</tr>
<?php endfor; endif; ?>
</tbody>
</table>
</p>